package com.wx.mall.goods.dto;

import com.wx.mall.common.validator.FlagValidator;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

@Data
public class AppaiseUpdateAllDto {
    @ApiModelProperty("id集合")
   private List<Integer> ids;
    @ApiModelProperty("操作类型")
    @NotNull(message = "不能为空")
    @FlagValidator(value = {"1","2","3"},message = "状态不正确")
   private int type;
}
